import service from "@/utils/request";
import type {LoginInfo} from '@/types'

enum REQUEST_URL{
    LOGIN_URL = "/login/login"
}

export const login = (data:LoginInfo) => service.post<any, string>(REQUEST_URL.LOGIN_URL,data)